<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%
	session.removeAttribute("deja");
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	Object le_user = session.getAttribute("user");
	Object le_type = session.getAttribute("type");
	if(le_user == null){ %>
		<jsp:forward page="login.jsp"/>
	<% } %>
	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Erreur</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
	<script type="text/javascript" src="js/cufon-yui.js"></script>
	<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="js/script.js"></script>
	<script type="text/javascript" src="js/coin-slider.min.js"></script>
	<link href="images/ccu.ico" rel="shortcut icon" type="image/x-icon" />
	
</head>
<body>

<div class="main">
		  <div class="header">
		    <div class="header_resize">
		    <div class="searchform">
		        Bienvenue 	
					<% if (le_user != null) { %>
						<%= le_user %>
					<% } %>,
					<a href="logout.jsp" title="">Deconnexion</a>
		      </div>
		      <div class="logo">
		        <h1><a href="index.jsp">G<span>invest</span></a></h1>
		      </div>
		      <div class="clr"></div>
		      <div class="menu_nav">
		        <% 	if (le_type.toString().equals("ADM")) {
		        	%>
		        <ul>
		          <li><a href="index.jsp"><span>Accueil</span></a></li>
		          <li><a href="groupe.jsp"><span>Groupe</span></a></li>
		          <li  class="active"><a href="investisseur.jsp"><span>Investisseur</span></a></li>
		          <li><a href="startup.jsp"><span>Startup</span></a></li>
		          
		        </ul>
		        <% 
		        	} 	
		        		else if (le_type.toString().equals("INV")) {
		        	%>
		        	<jsp:forward page="index.jsp"/>
		        	<% 	}
		        	%>
		      </div>
		      <div class="clr"></div>
		    </div>
		  </div>
		  <div class="content">
		    <div class="content_resize">
		      <div class="mainbar">
		        <div class="article">
		          <h2><span>Erreur</span></h2>
		          <div class="clr"></div>
		          <div class="img"><img src="images/img1.jpg" width="236" height="245" alt="" class="fl" /></div>
		          
		          <div class="post_content"><a></a>
		          	<br />
		            <p>Vous n'&ecirc;tes pas autoris&eacute; &agrave; utiliser cette page. </p>
		            
		          </div>
		          <div class="clr"></div>
		        </div>
			   </div>
		    </div>
		  </div>		
		  <div class="clr"></div>
		  <div class="footer">
		    <div class="footer_resize">
		      <p class="lf">&copy; Copyright 2011.</p>
		      <p class="rf">R&eacute;alis&eacute; par <a href="index.jsp"> G_INVEST CORPORATION</a></p>
		      <div style="clear:both;"></div>
		    </div>
		  </div>
		</div>
	</body>
</html>